package com.treasure.mall.biz.dto;

import com.treasure.mall.zbq.common.ObjectUtils;
import com.treasure.mall.zbq.common.ienum.base.CodeDescCommonEnum;
import lombok.Data;

/**
 * @author guomw
 * @version 1.0
 * @date 2019/10/18 23:15
 */
@Data
public class BaseLogSaveDTO implements BaseDTO {
    private CodeDescCommonEnum logType;
    private String remark;
    private Integer opId;
    private String opName;

    public String getRemark() {
        if (ObjectUtils.isEmpty(this.remark)) {
            return "";
        }
        return this.remark;
    }
}